package org.aliyunoss.vo;

public class MyAppException extends RuntimeException{

    private int code = 500;
    private String msg = "服务器异常";


    //public AppException(AppExceptionCodeMsg appExceptionCodeMsg){
    //    super();
    //    this.code = appExceptionCodeMsg.getCode();
    //    this.msg = appExceptionCodeMsg.getMsg();
    //
    //}

    public MyAppException(int code, String msg){
        super();
        this.code = code;
        this.msg = msg;

    }

    public int getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }

}